package pre.vo;

import java.util.ArrayList;

/**
 * 페이징 처리된 게시판 객체 클래스
 * @author hyem55
 *
 */
public class pagingBoardVO {

		private ArrayList<boardVO> boardList;//게시판 객체
		private pageVO paging;//페이징 처리 객체
		
		//기본생성자
		public pagingBoardVO() {
			super();
		}
		//생성자
		public pagingBoardVO(ArrayList<boardVO> boardList, pageVO paging) {
			super();
			this.boardList = boardList;
			this.paging = paging;
		}
		
		//list, paging setter/getter 메소드
		public ArrayList<boardVO> getBoardList() {
			return boardList;
		}
		public void setBoardList(ArrayList<boardVO> boardList) {
			this.boardList = boardList;
		}
		public pageVO getPaging() {
			return paging;
		}
		public void setPaging(pageVO paging) {
			this.paging = paging;
		}

		@Override
		public String toString() {
			return "PagingboardVO [boardList=" + boardList + ", paging=" + paging + "]";
		}
}
